import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.util.HashMap;
import javax.rmi.PortableRemoteObject;

public class PropertyImpl extends PortableRemoteObject implements Property
{
	private String myKey = "";
	private String myValue = "";
	
	public PropertyImpl( String key, String value ) throws RemoteException
	{
		myKey = key;
		myValue = value;
	}

	public String getMyKey() throws RemoteException
	{
		return myKey;
	}

	public String getMyValue() throws RemoteException
	{
		return myValue;
	}
	
	public String toString()
	{
		return "PropertyImpl @" + hashCode() + " - Key: " + myKey + " Value: " + myValue;
	}
	
	
}
